#ifndef IMAGESAVE_H
#define IMAGESAVE_H

#include <QObject>

class ImageSave : public QObject
{
    Q_OBJECT
public:
    explicit ImageSave(){}
    virtual ~ImageSave() = default;

    //设置图像位数
    virtual int setImageBits(unsigned char bits) = 0;
    virtual unsigned char getImageBits() const = 0;

    //设置图像存储模式
    virtual int setImageSavePosition(unsigned char position) = 0;
    virtual unsigned char getImageSavePosition()const = 0;

    //保存图像：图像数据指针/图像附加数据
    virtual int imageSave(const unsigned char *image_pointer) = 0;
    //设置图像辅助信息
    virtual int setImageAuxiliaryInformation(QByteArray image_message) = 0;

};

#endif // IMAGESAVE_H
